package com.resume.service

import com.resume.dto.CreateResumeRequest
import com.resume.dto.GenerateResumeRequest
import com.resume.dto.ResumeResponse
import org.springframework.http.ResponseEntity
import org.springframework.web.multipart.MultipartFile

interface ResumeService {
    fun getResumesByUserId(userId: Long, page: Int, size: Int): Any
    fun getResume(id: Long, userId: Long): ResumeResponse
    fun createResume(request: CreateResumeRequest, userId: Long): ResumeResponse
    fun updateResume(id: Long, request: CreateResumeRequest, userId: Long): ResumeResponse
    fun deleteResume(id: Long, userId: Long)
    fun generateResumeByPrompt(request: GenerateResumeRequest, userId: Long): ResumeResponse
    fun generateResumeFromTemplate(file: MultipartFile, userId: Long): ResumeResponse
    fun exportResume(id: Long, format: String, userId: Long): ResponseEntity<ByteArray>
} 